-
Notifications
You must be signed in to change notification settings - Fork 917
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Backport 2.x] Revert to legacy discover table and add toggle to new discover table #5839
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…5789) * basic table working Signed-off-by: abbyhu2000 <[email protected]> * basic styling Signed-off-by: abbyhu2000 <[email protected]> * fix header column style Signed-off-by: abbyhu2000 <[email protected]> * correctly display optional col header actions Signed-off-by: abbyhu2000 <[email protected]> * move col to the right or left if applicable Signed-off-by: abbyhu2000 <[email protected]> * add cell filter for and filter out buttons Signed-off-by: abbyhu2000 <[email protected]> * add cell action on doc table, half working on toggle columns Signed-off-by: abbyhu2000 <[email protected]> * sorting Signed-off-by: abbyhu2000 <[email protected]> * Add toggling between legacy and new table According to #5739, add toggle using storage. Signed-off-by: abbyhu2000 <[email protected]> * get rid of the console log Signed-off-by: abbyhu2000 <[email protected]> * optimize cell filter logics Signed-off-by: abbyhu2000 <[email protected]> * add more refactoring Signed-off-by: abbyhu2000 <[email protected]> * remove an used line Signed-off-by: abbyhu2000 <[email protected]> * some more table cell optimization Signed-off-by: abbyhu2000 <[email protected]> * Initial UI fixes (#5758) Signed-off-by: Ashwin P Chandran <[email protected]> * Table optimization with lazy loading (#5760) Signed-off-by: abbyhu2000 <[email protected]> * [Discover with Legacy Table] fix copy issue and open feedbacks in a new tab (#5761) * add a colon (:) after the key * ensure there's a space between each key-value pair * allow feedback url to open in a new tab Signed-off-by: Anan Z <[email protected]> * [Discover] Fix more UI (#5764) Signed-off-by: Ashwin P Chandran <[email protected]> * [Discover] Fixes table optimization (#5763) * [Discover] Fixes table optimization Signed-off-by: Ashwin P Chandran <[email protected]> * improved loader Signed-off-by: Ashwin P Chandran <[email protected]> --------- Signed-off-by: Ashwin P Chandran <[email protected]> * Change sort icon according to current sort conditions (#5772) Signed-off-by: abbyhu2000 <[email protected]> * fix breadcrumb navigation (#5773) Signed-off-by: abbyhu2000 <[email protected]> * Add pagination to discover embeddable (#5770) * Add pagination Signed-off-by: abbyhu2000 <[email protected]> * fix an errir Signed-off-by: abbyhu2000 <[email protected]> * small change Signed-off-by: abbyhu2000 <[email protected]> * fix errors Signed-off-by: abbyhu2000 <[email protected]> --------- Signed-off-by: abbyhu2000 <[email protected]> * [Discover] Prevent wrapping of time series cells (#5779) Signed-off-by: Miki <[email protected]> * Vertically align the text in QueryStringInputUI with other elements on the page (#5780) Signed-off-by: Miki <[email protected]> * Use `ouiCodeFont` in Discover and reduce text size (#5783) Also: * Fix react `key` errors * vertically align source cells * Clamp the height of the cells * Make sure time-series column never grows Signed-off-by: Miki <[email protected]> * [Discover] Display filter buttons at top right of the cell (#5784) Signed-off-by: Miki <[email protected]> * [Discover] Vertically align the details toggle button (#5785) Signed-off-by: Miki <[email protected]> * [Discover] Fix overflow of the expanded document (#5788) * Fix vertical alignment of expand details button Fix colspan of details cells Signed-off-by: Miki <[email protected]> * Fix overflow problem of detailed doc Signed-off-by: Miki <[email protected]> --------- Signed-off-by: Miki <[email protected]> * update feedback msg (#5787) Signed-off-by: Anan Z <[email protected]> * Resolve sort, default sort and short dot (#5771) Signed-off-by: Anan Z <[email protected]> Signed-off-by: Anan Zhuang <[email protected]> * [Discover] Fixes pagination style (#5778) * fixes pagination style Signed-off-by: Ashwin P Chandran <[email protected]> * style-lint fix Signed-off-by: Ashwin P Chandran <[email protected]> * fix react warning for unnecessary prop Signed-off-by: Ashwin P Chandran <[email protected]> * Show total hit count and pass services in embeddable Signed-off-by: Ashwin P Chandran <[email protected]> * removed unnecessary div Signed-off-by: Ashwin P Chandran <[email protected]> --------- Signed-off-by: Ashwin P Chandran <[email protected]> Signed-off-by: Anan Zhuang <[email protected]> Co-authored-by: Anan Zhuang <[email protected]> * add changelog Signed-off-by: abbyhu2000 <[email protected]> * fix table column error Signed-off-by: abbyhu2000 <[email protected]> * Fix pagination edge case Signed-off-by: abbyhu2000 <[email protected]> * Routing for surrounding doc link should work without a question mark appending to the end (#5776) * routing for surrounding doc should work without ? Signed-off-by: abbyhu2000 <[email protected]> * change path to not include appstate Signed-off-by: abbyhu2000 <[email protected]> * delete optional app state for single doc link too Signed-off-by: abbyhu2000 <[email protected]> --------- Signed-off-by: abbyhu2000 <[email protected]> * type fixes (#5795) Signed-off-by: Ashwin P Chandran <[email protected]> * Update toggle to button (#5808) Signed-off-by: Ashwin P Chandran <[email protected]> * Adds support for line count (#5814) Signed-off-by: Ashwin P Chandran <[email protected]> * Add swith to datagrid table and fix ciGroup1 (#5816) * add swith to datagrid table and fix ciGroup1 Signed-off-by: Anan <[email protected]> * fix ciGroup7 Signed-off-by: Anan Z <[email protected]> * fix ciGroup6 Signed-off-by: Anan Z <[email protected]> --------- Signed-off-by: Anan <[email protected]> Signed-off-by: Anan Z <[email protected]> * add missing snapshot (#5818) Signed-off-by: Anan Z <[email protected]> * fix pluign ftr tests (#5821) Signed-off-by: Anan Z <[email protected]> * update snapshot (#5824) Signed-off-by: abbyhu2000 <[email protected]> * Fix functional 3 and 4 for discover legacy (#5822) * fix 3 and 4 Signed-off-by: abbyhu2000 <[email protected]> * fix functional 3 and 4 Signed-off-by: abbyhu2000 <[email protected]> * dashboard expect Signed-off-by: abbyhu2000 <[email protected]> --------- Signed-off-by: abbyhu2000 <[email protected]> * Solve cigroup 7 flakiness (#5826) * test hover Signed-off-by: abbyhu2000 <[email protected]> * comment out other ci to speed up Signed-off-by: abbyhu2000 <[email protected]> * uncomment Signed-off-by: abbyhu2000 <[email protected]> --------- Signed-off-by: abbyhu2000 <[email protected]> * [Discover] Simplify feedback modal (#5837) * Simplify feedback modal Signed-off-by: Ashwin P Chandran <[email protected]> * renames datagrid settng to newDiscover setting Signed-off-by: Ashwin P Chandran <[email protected]> * removes sub module from branch Signed-off-by: Ashwin P Chandran <[email protected]> --------- Signed-off-by: Ashwin P Chandran <[email protected]> * Persist line height (#5836) Signed-off-by: Ashwin P Chandran <[email protected]> * Update table revert changelog (#5835) * Update table revert changelog ### Description updates changelog ### Issues Resolved <!-- List any issues this PR will resolve. Prefix the issue with the keyword closes, fixes, fix --> <!-- Example: closes #1234 or fixes <Issue_URL> --> ## Screenshot <!-- Attach any relevant screenshots. Any change to the UI requires an attached screenshot in the PR Description --> ## Testing the changes <!-- Please provide detailed steps for validating your changes. This could involve specific commands to run, pages to visit, scenarios to try or any other information that would help reviewers verify the functionality of your change --> ### Check List - [ ] All tests pass - [ ] `yarn test:jest` - [ ] `yarn test:jest_integration` - [ ] New functionality includes testing. - [ ] New functionality has been documented. - [ ] Update [CHANGELOG.md](./../CHANGELOG.md) - [ ] Commits are signed per the DCO using --signoff * revert dependency change Signed-off-by: Ashwin P Chandran <[email protected]> * nit Signed-off-by: Ashwin P Chandran <[email protected]> * update changelog Signed-off-by: Ashwin P Chandran <[email protected]> --------- Signed-off-by: Ashwin P Chandran <[email protected]> * fix table height persist on context page Signed-off-by: Ashwin P Chandran <[email protected]> --------- Signed-off-by: abbyhu2000 <[email protected]> Signed-off-by: Ashwin P Chandran <[email protected]> Signed-off-by: Anan Z <[email protected]> Signed-off-by: Miki <[email protected]> Signed-off-by: Anan Zhuang <[email protected]> Signed-off-by: Anan <[email protected]> Co-authored-by: Ashwin P Chandran <[email protected]> Co-authored-by: Anan Zhuang <[email protected]> Co-authored-by: Miki <[email protected]> Co-authored-by: Ganesh0107 <[email protected]> (cherry picked from commit e13dbff) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot
bot
added
discover
for discover reinvent
autocut
Skip the changelog verification check on backports
distinguished-contributor
v2.12.0
labels
Feb 7, 2024
opensearch-trigger-bot
bot
requested review from
ananzh,
kavilla,
AMoo-Miki,
ashwin-pc,
joshuarrrr,
abbyhu2000,
zengyan-amazon,
kristenTian,
zhongnansu,
manasvinibs,
ZilongX,
Flyingliuhub,
BSFishy,
curq,
bandinib-amzn and
SuZhou-Joe
as code owners
February 7, 2024 20:54
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## 2.x #5839 +/- ##
==========================================
+ Coverage 66.94% 66.98% +0.04%
==========================================
Files 3300 3300
Lines 63545 63570 +25
Branches 10131 10137 +6
==========================================
+ Hits 42539 42585 +46
+ Misses 18546 18524 -22
- Partials 2460 2461 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
kavilla
approved these changes
Feb 7, 2024
AMoo-Miki
approved these changes
Feb 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
autocut
Skip the changelog verification check on backports
discover
for discover reinvent
distinguished-contributor
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport e13dbff from #5789.